package com.tc.es.dao;

import com.tc.es.index.Product;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProductDao extends ElasticsearchRepository<Product, Long>{


    List<Product> findByTitle(String title);
}
